package com.crm.model.entity.customerManager;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CustomerProductDetailExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CustomerProductDetailExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCustomerProductDetailIdIsNull() {
            addCriterion("customer_product_detail_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdIsNotNull() {
            addCriterion("customer_product_detail_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdEqualTo(String value) {
            addCriterion("customer_product_detail_id =", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdNotEqualTo(String value) {
            addCriterion("customer_product_detail_id <>", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdGreaterThan(String value) {
            addCriterion("customer_product_detail_id >", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product_detail_id >=", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdLessThan(String value) {
            addCriterion("customer_product_detail_id <", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdLessThanOrEqualTo(String value) {
            addCriterion("customer_product_detail_id <=", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdLike(String value) {
            addCriterion("customer_product_detail_id like", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdNotLike(String value) {
            addCriterion("customer_product_detail_id not like", value, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdIn(List<String> values) {
            addCriterion("customer_product_detail_id in", values, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdNotIn(List<String> values) {
            addCriterion("customer_product_detail_id not in", values, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdBetween(String value1, String value2) {
            addCriterion("customer_product_detail_id between", value1, value2, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductDetailIdNotBetween(String value1, String value2) {
            addCriterion("customer_product_detail_id not between", value1, value2, "customerProductDetailId");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIsNull() {
            addCriterion("member_product_code is null");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIsNotNull() {
            addCriterion("member_product_code is not null");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeEqualTo(String value) {
            addCriterion("member_product_code =", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotEqualTo(String value) {
            addCriterion("member_product_code <>", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeGreaterThan(String value) {
            addCriterion("member_product_code >", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("member_product_code >=", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLessThan(String value) {
            addCriterion("member_product_code <", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLessThanOrEqualTo(String value) {
            addCriterion("member_product_code <=", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeLike(String value) {
            addCriterion("member_product_code like", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotLike(String value) {
            addCriterion("member_product_code not like", value, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeIn(List<String> values) {
            addCriterion("member_product_code in", values, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotIn(List<String> values) {
            addCriterion("member_product_code not in", values, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeBetween(String value1, String value2) {
            addCriterion("member_product_code between", value1, value2, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andMemberProductCodeNotBetween(String value1, String value2) {
            addCriterion("member_product_code not between", value1, value2, "memberProductCode");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNull() {
            addCriterion("finish_order_product_num is null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNotNull() {
            addCriterion("finish_order_product_num is not null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumEqualTo(String value) {
            addCriterion("finish_order_product_num =", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotEqualTo(String value) {
            addCriterion("finish_order_product_num <>", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThan(String value) {
            addCriterion("finish_order_product_num >", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num >=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThan(String value) {
            addCriterion("finish_order_product_num <", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num <=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLike(String value) {
            addCriterion("finish_order_product_num like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotLike(String value) {
            addCriterion("finish_order_product_num not like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIn(List<String> values) {
            addCriterion("finish_order_product_num in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotIn(List<String> values) {
            addCriterion("finish_order_product_num not in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumBetween(String value1, String value2) {
            addCriterion("finish_order_product_num between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotBetween(String value1, String value2) {
            addCriterion("finish_order_product_num not between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIsNull() {
            addCriterion("member_card_name is null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIsNotNull() {
            addCriterion("member_card_name is not null");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameEqualTo(String value) {
            addCriterion("member_card_name =", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotEqualTo(String value) {
            addCriterion("member_card_name <>", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameGreaterThan(String value) {
            addCriterion("member_card_name >", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameGreaterThanOrEqualTo(String value) {
            addCriterion("member_card_name >=", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLessThan(String value) {
            addCriterion("member_card_name <", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLessThanOrEqualTo(String value) {
            addCriterion("member_card_name <=", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameLike(String value) {
            addCriterion("member_card_name like", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotLike(String value) {
            addCriterion("member_card_name not like", value, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameIn(List<String> values) {
            addCriterion("member_card_name in", values, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotIn(List<String> values) {
            addCriterion("member_card_name not in", values, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameBetween(String value1, String value2) {
            addCriterion("member_card_name between", value1, value2, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andMemberCardNameNotBetween(String value1, String value2) {
            addCriterion("member_card_name not between", value1, value2, "memberCardName");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIsNull() {
            addCriterion("selling_card_price is null");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIsNotNull() {
            addCriterion("selling_card_price is not null");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceEqualTo(BigDecimal value) {
            addCriterion("selling_card_price =", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotEqualTo(BigDecimal value) {
            addCriterion("selling_card_price <>", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceGreaterThan(BigDecimal value) {
            addCriterion("selling_card_price >", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_card_price >=", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceLessThan(BigDecimal value) {
            addCriterion("selling_card_price <", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("selling_card_price <=", value, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceIn(List<BigDecimal> values) {
            addCriterion("selling_card_price in", values, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotIn(List<BigDecimal> values) {
            addCriterion("selling_card_price not in", values, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_card_price between", value1, value2, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andSellingCardPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("selling_card_price not between", value1, value2, "sellingCardPrice");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIsNull() {
            addCriterion("service_number is null");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIsNotNull() {
            addCriterion("service_number is not null");
            return (Criteria) this;
        }

        public Criteria andServiceNumberEqualTo(Integer value) {
            addCriterion("service_number =", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotEqualTo(Integer value) {
            addCriterion("service_number <>", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberGreaterThan(Integer value) {
            addCriterion("service_number >", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberGreaterThanOrEqualTo(Integer value) {
            addCriterion("service_number >=", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberLessThan(Integer value) {
            addCriterion("service_number <", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberLessThanOrEqualTo(Integer value) {
            addCriterion("service_number <=", value, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberIn(List<Integer> values) {
            addCriterion("service_number in", values, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotIn(List<Integer> values) {
            addCriterion("service_number not in", values, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberBetween(Integer value1, Integer value2) {
            addCriterion("service_number between", value1, value2, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andServiceNumberNotBetween(Integer value1, Integer value2) {
            addCriterion("service_number not between", value1, value2, "serviceNumber");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIsNull() {
            addCriterion("product_membership_level is null");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIsNotNull() {
            addCriterion("product_membership_level is not null");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelEqualTo(Integer value) {
            addCriterion("product_membership_level =", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotEqualTo(Integer value) {
            addCriterion("product_membership_level <>", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelGreaterThan(Integer value) {
            addCriterion("product_membership_level >", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("product_membership_level >=", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelLessThan(Integer value) {
            addCriterion("product_membership_level <", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelLessThanOrEqualTo(Integer value) {
            addCriterion("product_membership_level <=", value, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelIn(List<Integer> values) {
            addCriterion("product_membership_level in", values, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotIn(List<Integer> values) {
            addCriterion("product_membership_level not in", values, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelBetween(Integer value1, Integer value2) {
            addCriterion("product_membership_level between", value1, value2, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andProductMembershipLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("product_membership_level not between", value1, value2, "productMembershipLevel");
            return (Criteria) this;
        }

        public Criteria andCourseNumIsNull() {
            addCriterion("course_num is null");
            return (Criteria) this;
        }

        public Criteria andCourseNumIsNotNull() {
            addCriterion("course_num is not null");
            return (Criteria) this;
        }

        public Criteria andCourseNumEqualTo(String value) {
            addCriterion("course_num =", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotEqualTo(String value) {
            addCriterion("course_num <>", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumGreaterThan(String value) {
            addCriterion("course_num >", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumGreaterThanOrEqualTo(String value) {
            addCriterion("course_num >=", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumLessThan(String value) {
            addCriterion("course_num <", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumLessThanOrEqualTo(String value) {
            addCriterion("course_num <=", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumLike(String value) {
            addCriterion("course_num like", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotLike(String value) {
            addCriterion("course_num not like", value, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumIn(List<String> values) {
            addCriterion("course_num in", values, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotIn(List<String> values) {
            addCriterion("course_num not in", values, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumBetween(String value1, String value2) {
            addCriterion("course_num between", value1, value2, "courseNum");
            return (Criteria) this;
        }

        public Criteria andCourseNumNotBetween(String value1, String value2) {
            addCriterion("course_num not between", value1, value2, "courseNum");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNull() {
            addCriterion("service_type is null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIsNotNull() {
            addCriterion("service_type is not null");
            return (Criteria) this;
        }

        public Criteria andServiceTypeEqualTo(String value) {
            addCriterion("service_type =", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotEqualTo(String value) {
            addCriterion("service_type <>", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThan(String value) {
            addCriterion("service_type >", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeGreaterThanOrEqualTo(String value) {
            addCriterion("service_type >=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThan(String value) {
            addCriterion("service_type <", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLessThanOrEqualTo(String value) {
            addCriterion("service_type <=", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeLike(String value) {
            addCriterion("service_type like", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotLike(String value) {
            addCriterion("service_type not like", value, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeIn(List<String> values) {
            addCriterion("service_type in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotIn(List<String> values) {
            addCriterion("service_type not in", values, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeBetween(String value1, String value2) {
            addCriterion("service_type between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andServiceTypeNotBetween(String value1, String value2) {
            addCriterion("service_type not between", value1, value2, "serviceType");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdIsNull() {
            addCriterion("course_type_id is null");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdIsNotNull() {
            addCriterion("course_type_id is not null");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdEqualTo(String value) {
            addCriterion("course_type_id =", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdNotEqualTo(String value) {
            addCriterion("course_type_id <>", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdGreaterThan(String value) {
            addCriterion("course_type_id >", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdGreaterThanOrEqualTo(String value) {
            addCriterion("course_type_id >=", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdLessThan(String value) {
            addCriterion("course_type_id <", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdLessThanOrEqualTo(String value) {
            addCriterion("course_type_id <=", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdLike(String value) {
            addCriterion("course_type_id like", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdNotLike(String value) {
            addCriterion("course_type_id not like", value, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdIn(List<String> values) {
            addCriterion("course_type_id in", values, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdNotIn(List<String> values) {
            addCriterion("course_type_id not in", values, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdBetween(String value1, String value2) {
            addCriterion("course_type_id between", value1, value2, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseTypeIdNotBetween(String value1, String value2) {
            addCriterion("course_type_id not between", value1, value2, "courseTypeId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdIsNull() {
            addCriterion("course_subcategory_id is null");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdIsNotNull() {
            addCriterion("course_subcategory_id is not null");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdEqualTo(String value) {
            addCriterion("course_subcategory_id =", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdNotEqualTo(String value) {
            addCriterion("course_subcategory_id <>", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdGreaterThan(String value) {
            addCriterion("course_subcategory_id >", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdGreaterThanOrEqualTo(String value) {
            addCriterion("course_subcategory_id >=", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdLessThan(String value) {
            addCriterion("course_subcategory_id <", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdLessThanOrEqualTo(String value) {
            addCriterion("course_subcategory_id <=", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdLike(String value) {
            addCriterion("course_subcategory_id like", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdNotLike(String value) {
            addCriterion("course_subcategory_id not like", value, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdIn(List<String> values) {
            addCriterion("course_subcategory_id in", values, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdNotIn(List<String> values) {
            addCriterion("course_subcategory_id not in", values, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdBetween(String value1, String value2) {
            addCriterion("course_subcategory_id between", value1, value2, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andCourseSubcategoryIdNotBetween(String value1, String value2) {
            addCriterion("course_subcategory_id not between", value1, value2, "courseSubcategoryId");
            return (Criteria) this;
        }

        public Criteria andServiceCountIsNull() {
            addCriterion("service_count is null");
            return (Criteria) this;
        }

        public Criteria andServiceCountIsNotNull() {
            addCriterion("service_count is not null");
            return (Criteria) this;
        }

        public Criteria andServiceCountEqualTo(String value) {
            addCriterion("service_count =", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountNotEqualTo(String value) {
            addCriterion("service_count <>", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountGreaterThan(String value) {
            addCriterion("service_count >", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountGreaterThanOrEqualTo(String value) {
            addCriterion("service_count >=", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountLessThan(String value) {
            addCriterion("service_count <", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountLessThanOrEqualTo(String value) {
            addCriterion("service_count <=", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountLike(String value) {
            addCriterion("service_count like", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountNotLike(String value) {
            addCriterion("service_count not like", value, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountIn(List<String> values) {
            addCriterion("service_count in", values, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountNotIn(List<String> values) {
            addCriterion("service_count not in", values, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountBetween(String value1, String value2) {
            addCriterion("service_count between", value1, value2, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andServiceCountNotBetween(String value1, String value2) {
            addCriterion("service_count not between", value1, value2, "serviceCount");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIsNull() {
            addCriterion("customer_product_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIsNotNull() {
            addCriterion("customer_product_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdEqualTo(String value) {
            addCriterion("customer_product_id =", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotEqualTo(String value) {
            addCriterion("customer_product_id <>", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdGreaterThan(String value) {
            addCriterion("customer_product_id >", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product_id >=", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLessThan(String value) {
            addCriterion("customer_product_id <", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLessThanOrEqualTo(String value) {
            addCriterion("customer_product_id <=", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdLike(String value) {
            addCriterion("customer_product_id like", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotLike(String value) {
            addCriterion("customer_product_id not like", value, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdIn(List<String> values) {
            addCriterion("customer_product_id in", values, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotIn(List<String> values) {
            addCriterion("customer_product_id not in", values, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdBetween(String value1, String value2) {
            addCriterion("customer_product_id between", value1, value2, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductIdNotBetween(String value1, String value2) {
            addCriterion("customer_product_id not between", value1, value2, "customerProductId");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameIsNull() {
            addCriterion("customer_product_name is null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameIsNotNull() {
            addCriterion("customer_product_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameEqualTo(String value) {
            addCriterion("customer_product_name =", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameNotEqualTo(String value) {
            addCriterion("customer_product_name <>", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameGreaterThan(String value) {
            addCriterion("customer_product_name >", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("customer_product_name >=", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameLessThan(String value) {
            addCriterion("customer_product_name <", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameLessThanOrEqualTo(String value) {
            addCriterion("customer_product_name <=", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameLike(String value) {
            addCriterion("customer_product_name like", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameNotLike(String value) {
            addCriterion("customer_product_name not like", value, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameIn(List<String> values) {
            addCriterion("customer_product_name in", values, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameNotIn(List<String> values) {
            addCriterion("customer_product_name not in", values, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameBetween(String value1, String value2) {
            addCriterion("customer_product_name between", value1, value2, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andCustomerProductNameNotBetween(String value1, String value2) {
            addCriterion("customer_product_name not between", value1, value2, "customerProductName");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationIsNull() {
            addCriterion("service_classification is null");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationIsNotNull() {
            addCriterion("service_classification is not null");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationEqualTo(String value) {
            addCriterion("service_classification =", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationNotEqualTo(String value) {
            addCriterion("service_classification <>", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationGreaterThan(String value) {
            addCriterion("service_classification >", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationGreaterThanOrEqualTo(String value) {
            addCriterion("service_classification >=", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationLessThan(String value) {
            addCriterion("service_classification <", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationLessThanOrEqualTo(String value) {
            addCriterion("service_classification <=", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationLike(String value) {
            addCriterion("service_classification like", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationNotLike(String value) {
            addCriterion("service_classification not like", value, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationIn(List<String> values) {
            addCriterion("service_classification in", values, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationNotIn(List<String> values) {
            addCriterion("service_classification not in", values, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationBetween(String value1, String value2) {
            addCriterion("service_classification between", value1, value2, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andServiceClassificationNotBetween(String value1, String value2) {
            addCriterion("service_classification not between", value1, value2, "serviceClassification");
            return (Criteria) this;
        }

        public Criteria andCourseCountIsNull() {
            addCriterion("course_count is null");
            return (Criteria) this;
        }

        public Criteria andCourseCountIsNotNull() {
            addCriterion("course_count is not null");
            return (Criteria) this;
        }

        public Criteria andCourseCountEqualTo(Integer value) {
            addCriterion("course_count =", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountNotEqualTo(Integer value) {
            addCriterion("course_count <>", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountGreaterThan(Integer value) {
            addCriterion("course_count >", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("course_count >=", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountLessThan(Integer value) {
            addCriterion("course_count <", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountLessThanOrEqualTo(Integer value) {
            addCriterion("course_count <=", value, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountIn(List<Integer> values) {
            addCriterion("course_count in", values, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountNotIn(List<Integer> values) {
            addCriterion("course_count not in", values, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountBetween(Integer value1, Integer value2) {
            addCriterion("course_count between", value1, value2, "courseCount");
            return (Criteria) this;
        }

        public Criteria andCourseCountNotBetween(Integer value1, Integer value2) {
            addCriterion("course_count not between", value1, value2, "courseCount");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIsNull() {
            addCriterion("exchange_method is null");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIsNotNull() {
            addCriterion("exchange_method is not null");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodEqualTo(String value) {
            addCriterion("exchange_method =", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotEqualTo(String value) {
            addCriterion("exchange_method <>", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodGreaterThan(String value) {
            addCriterion("exchange_method >", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodGreaterThanOrEqualTo(String value) {
            addCriterion("exchange_method >=", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLessThan(String value) {
            addCriterion("exchange_method <", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLessThanOrEqualTo(String value) {
            addCriterion("exchange_method <=", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodLike(String value) {
            addCriterion("exchange_method like", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotLike(String value) {
            addCriterion("exchange_method not like", value, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodIn(List<String> values) {
            addCriterion("exchange_method in", values, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotIn(List<String> values) {
            addCriterion("exchange_method not in", values, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodBetween(String value1, String value2) {
            addCriterion("exchange_method between", value1, value2, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andExchangeMethodNotBetween(String value1, String value2) {
            addCriterion("exchange_method not between", value1, value2, "exchangeMethod");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNull() {
            addCriterion("account_id is null");
            return (Criteria) this;
        }

        public Criteria andAccountIdIsNotNull() {
            addCriterion("account_id is not null");
            return (Criteria) this;
        }

        public Criteria andAccountIdEqualTo(String value) {
            addCriterion("account_id =", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotEqualTo(String value) {
            addCriterion("account_id <>", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThan(String value) {
            addCriterion("account_id >", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdGreaterThanOrEqualTo(String value) {
            addCriterion("account_id >=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThan(String value) {
            addCriterion("account_id <", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLessThanOrEqualTo(String value) {
            addCriterion("account_id <=", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdLike(String value) {
            addCriterion("account_id like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotLike(String value) {
            addCriterion("account_id not like", value, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdIn(List<String> values) {
            addCriterion("account_id in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotIn(List<String> values) {
            addCriterion("account_id not in", values, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdBetween(String value1, String value2) {
            addCriterion("account_id between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andAccountIdNotBetween(String value1, String value2) {
            addCriterion("account_id not between", value1, value2, "accountId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNull() {
            addCriterion("customer_id is null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIsNotNull() {
            addCriterion("customer_id is not null");
            return (Criteria) this;
        }

        public Criteria andCustomerIdEqualTo(String value) {
            addCriterion("customer_id =", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotEqualTo(String value) {
            addCriterion("customer_id <>", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThan(String value) {
            addCriterion("customer_id >", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdGreaterThanOrEqualTo(String value) {
            addCriterion("customer_id >=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThan(String value) {
            addCriterion("customer_id <", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLessThanOrEqualTo(String value) {
            addCriterion("customer_id <=", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdLike(String value) {
            addCriterion("customer_id like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotLike(String value) {
            addCriterion("customer_id not like", value, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdIn(List<String> values) {
            addCriterion("customer_id in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotIn(List<String> values) {
            addCriterion("customer_id not in", values, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdBetween(String value1, String value2) {
            addCriterion("customer_id between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andCustomerIdNotBetween(String value1, String value2) {
            addCriterion("customer_id not between", value1, value2, "customerId");
            return (Criteria) this;
        }

        public Criteria andDataSourceIsNull() {
            addCriterion("data_source is null");
            return (Criteria) this;
        }

        public Criteria andDataSourceIsNotNull() {
            addCriterion("data_source is not null");
            return (Criteria) this;
        }

        public Criteria andDataSourceEqualTo(Integer value) {
            addCriterion("data_source =", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotEqualTo(Integer value) {
            addCriterion("data_source <>", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceGreaterThan(Integer value) {
            addCriterion("data_source >", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceGreaterThanOrEqualTo(Integer value) {
            addCriterion("data_source >=", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceLessThan(Integer value) {
            addCriterion("data_source <", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceLessThanOrEqualTo(Integer value) {
            addCriterion("data_source <=", value, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceIn(List<Integer> values) {
            addCriterion("data_source in", values, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotIn(List<Integer> values) {
            addCriterion("data_source not in", values, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceBetween(Integer value1, Integer value2) {
            addCriterion("data_source between", value1, value2, "dataSource");
            return (Criteria) this;
        }

        public Criteria andDataSourceNotBetween(Integer value1, Integer value2) {
            addCriterion("data_source not between", value1, value2, "dataSource");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNull() {
            addCriterion("company_id is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIsNotNull() {
            addCriterion("company_id is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIdEqualTo(String value) {
            addCriterion("company_id =", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotEqualTo(String value) {
            addCriterion("company_id <>", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThan(String value) {
            addCriterion("company_id >", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdGreaterThanOrEqualTo(String value) {
            addCriterion("company_id >=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThan(String value) {
            addCriterion("company_id <", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLessThanOrEqualTo(String value) {
            addCriterion("company_id <=", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdLike(String value) {
            addCriterion("company_id like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotLike(String value) {
            addCriterion("company_id not like", value, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdIn(List<String> values) {
            addCriterion("company_id in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotIn(List<String> values) {
            addCriterion("company_id not in", values, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdBetween(String value1, String value2) {
            addCriterion("company_id between", value1, value2, "companyId");
            return (Criteria) this;
        }

        public Criteria andCompanyIdNotBetween(String value1, String value2) {
            addCriterion("company_id not between", value1, value2, "companyId");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}